
console.log('A')
async function getAllFile() {

    console.log('B')
    const r1 = await thenFs.readFile('./files/1.txt', 'utf8').then(datastr => {
        console.log(datastr) //111
    })
    setTimeout(() => {
        console.log('F')
    }, 0);
    const r2 = await thenFs.readFile('./files/2.txt', 'utf8').then(datastr => {
        console.log(datastr) //222
    })
    console.log('E')
    const r3 = await thenFs.readFile('./files/3.txt', 'utf8').then(datastr => {
    console.log(datastr) //333
    })
    console.log('D')
}

getAllFile()
console.log('C')